from django.urls import path
from . import views

app_name = 'hotel_admin'

urlpatterns = [
    path('dashboard/', views.dashboard, name='dashboard'),
    path('rooms/', views.manage_rooms, name='manage_rooms'),
    path('rooms/add/', views.manage_room, name='add_room'),
    path('rooms/edit/<int:room_id>/', views.manage_room, name='edit_room'),
    path('rooms/delete/<int:room_id>/', views.delete_room, name='delete_room'),
    path('bookings/', views.manage_bookings, name='manage_bookings'),
    path('bookings/update_status/<int:booking_id>/', views.update_booking_status, name='update_booking_status'),
    path('feedbacks/', views.manage_feedbacks, name='manage_feedbacks'),
    path('feedbacks/update_status/<int:feedback_id>/', views.update_feedback_status, name='update_feedback_status'),
    path('bills/', views.manage_bills, name='manage_bills'),
    path('bills/update_status/<int:bill_id>/', views.update_bill_status, name='update_bill_status'),
    path('bill-del/<int:bill_id>/', views.delete_bill, name='delete_bill'),
    path('reports/', views.reports, name='reports'),
    path('system-ops/', views.system_operations, name='system_operations'),
    path('system-ops/health/', views.system_health, name='system_health'),
]
